/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package onlinestore.GUI;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Container;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JPanel;

/**
 *
 * @author zhuli
 */
public class ProductFrame extends JFrame implements ActionListener{
    
    public ProductFrame()
    {
        System.out.println("Open the Products Page...");
        
        JPanel sInfoPanel = new JPanel();
        sInfoPanel.setBackground(Color.YELLOW);
        sInfoPanel.setBounds(20, 20, 740, 40);
        add(sInfoPanel);

        JLabel sInfo = new JLabel();
        sInfo.setBounds(20, 20, 300, 20);
        sInfoPanel.add(sInfo);

        Container contentPane = getContentPane();
        contentPane.setBackground(Color.ORANGE);
        contentPane.setLayout(new BorderLayout());
        setBounds(0, 0, 800, 800);
        setLocationRelativeTo(null);
        setTitle("Could --- Products Page --- Online Store");
        setDefaultCloseOperation(HIDE_ON_CLOSE);
    }
    

    public void actionPerformed(ActionEvent ae) {
        throw new UnsupportedOperationException("Not supported yet.");
    }
    
}
